﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>@Html.GetConfig("siteName")</title>
    <!-- bootstrap - css -->
    <link href="/Content/BJUI/themes/css/bootstrap.css" rel="stylesheet">
    <!-- core - css -->
    <link href="/Content/BJUI/themes/css/style.css" rel="stylesheet">
    <link href="/Content/BJUI/themes/blue/core.css" id="bjui-link-theme" rel="stylesheet">
    <link href="/Content/BJUI/themes/css/fontsize.css" id="bjui-link-theme" rel="stylesheet">
    <!-- plug - css -->
    <link href="/Content/BJUI/plugins/kindeditor_4.1.11/themes/default/default.css" rel="stylesheet">
    <link href="/Content/BJUI/plugins/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="/Content/BJUI/plugins/nice-validator-1.0.7/jquery.validator.css" rel="stylesheet">
    <link href="/Content/BJUI/plugins/bootstrapSelect/bootstrap-select.css" rel="stylesheet">
    <link href="/Content/BJUI/plugins/webuploader/webuploader.css" rel="stylesheet">
    <link href="/Content/BJUI/themes/css/FA/css/font-awesome.min.css" rel="stylesheet">
    <!-- Favicons -->
    <link rel="apple-touch-icon-precomposed" href="assets/ico/apple-touch-icon-precomposed.png">
    <link rel="shortcut icon" type="image/x-icon" href="/Content/images/favicon.ico" media="screen" />

    <!--[if lte IE 7]>
    <link href="/Content/BJUI/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->

    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
        <script src="/Content/BJUI/other/html5shiv.min.js"></script>
        <script src="/Content/BJUI/other/respond.min.js"></script>
    <![endif]-->

    <!-- jquery -->
    <script src="/Content/BJUI/js/jquery-1.11.3.min.js"></script>
    <script src="/Content/BJUI/js/jquery.cookie.js"></script>
    <script src="/Content/BJUI/plugins/download/jquery.fileDownload.js"></script>
    <!--[if lte IE 9]>
    <script src="/Content/BJUI/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- B-JUI -->
    <script src="/Content/BJUI/js/bjui-all.js?r=@(new Random().NextDouble()) "></script>
    <!-- plugins -->
    <!-- UMeditor -->
    @*<script src="/Content/Script/UMeditor/js/umeditor.config.js"></script>
    <script src="/Content/Script/UMeditor/js/umeditor.js"></script>*@
    @*<script src="/Content/Script/UMeditor/js/umeditor.min.js"></script>*@
    <!-- colorpicker -->
    <script src="/Content/BJUI/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
    <!-- ztree -->
    <script src="/Content/BJUI/plugins/ztree/jquery.ztree.all-3.5.js"></script>
    <!-- nice validate -->
    <script src="/Content/BJUI/plugins/nice-validator-1.0.7/jquery.validator.js"></script>
    <script src="/Content/BJUI/plugins/nice-validator-1.0.7/jquery.validator.themes.js"></script>
    <!-- bootstrap plugins -->
    <script src="/Content/BJUI/plugins/bootstrap.min.js"></script>
    <script src="/Content/BJUI/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
    <script src="/Content/BJUI/plugins/bootstrapSelect/defaults-zh_CN.min.js"></script>
    <!-- icheck -->
    <script src="/Content/BJUI/plugins/icheck/icheck.min.js"></script>


    <!-- swfupload for kindeditor -->
    <script src="/Content/BJUI/plugins/swfupload/swfupload.js"></script>
    <!-- Webuploader -->
    <script src="/Content/BJUI/plugins/webuploader/webuploader.js"></script>
    <!-- kindeditor -->
    <script src="/Content/BJUI/plugins/kindeditor_4.1.11/kindeditor-all-min.js"></script>
    <script src="/Content/BJUI/plugins/kindeditor_4.1.11/lang/zh-CN.js"></script>

    <!-- Charts -->
    <script src="/Content/BJUI/plugins/echarts/echarts.js"></script>

    @*<script src="/Content/BJUI/plugins/highcharts/highcharts.js"></script>
    <script src="/Content/BJUI/plugins/highcharts/highcharts-3d.js"></script>
    <script src="/Content/BJUI/plugins/highcharts/themes/gray.js"></script>*@
    <!-- other plugins -->
    <script src="/Content/BJUI/plugins/other/jquery.autosize.js"></script>
  
    <!-- init -->
    <script src="/Content/Scripts/Dictionary.js"></script>
    <script src="/Content/Scripts/sys.js?r=@(new Random().NextDouble()) "></script>
    <style type="text/css">
        #bjui-sidenav-box li {
            line-height: 2.42857143;
            font-family: 微软雅黑;
        }

        #bjui-sidenav {
            background-color: #F3F8FC;            
        }
    </style>
    <script type="text/javascript">
        $(function () {
            BJUI.init({
                JSPATH: '/Content/BJUI/',         //[可选]框架路径
                PLUGINPATH: '/Content/BJUI/plugins/', //[可选]插件路径
                loginInfo: { url: '/Login/login_timeout', title: '登录', width: 400, height: 185, resizable: false, maxable: false }, // 会话超时后弹出登录对话框
                statusCode: { ok: 200, error: 300, timeout: 301 }, //[可选]
                ajaxTimeout: 300000, //[可选]全局Ajax请求超时时间(毫秒)
                alertTimeout: 3000,  //[可选]信息提示[info/correct]自动关闭延时(毫秒)
                pageInfo: { total: 'totalRow', pageCurrent: 'pageCurrent', pageSize: 'pageSize', orderField: 'orderField', orderDirection: 'orderDirection' }, //[可选]分页参数
                keys: { statusCode: 'statusCode', message: 'message' }, //[可选]
                ui: {
                    sidenavWidth: 222,
                    showSlidebar: true, //[可选]左侧导航栏锁定/隐藏
                    overwriteHomeTab: true //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                },
                debug: true,    // [可选]调试模式 [true|false，默认false]
                theme: 'blue' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
            })
            //时钟
            var today = new Date(), time = today.getTime()
            $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
            setInterval(function () {
                today = new Date(today.setSeconds(today.getSeconds() + 1))
                $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
            }, 1000)

        })

        /*window.onbeforeunload = function(){
            return "确定要关闭本系统 ?";
        }*/

        //菜单-事件-zTree
        function MainMenuClick(event, treeId, treeNode) {
            if (treeNode.target && treeNode.target == 'dialog' || treeNode.target == 'navtab')
                event.preventDefault()

            if (treeNode.isParent) {
                var zTree = $.fn.zTree.getZTreeObj(treeId)

                zTree.expandNode(treeNode)
                return
            }

            if (treeNode.target && treeNode.target == 'dialog')
                $(event.target).dialog({ id: treeNode.targetid, url: treeNode.url, title: treeNode.name })
            else if (treeNode.target && treeNode.target == 'navtab')
                $(event.target).navtab({ id: treeNode.targetid, url: treeNode.url, title: treeNode.name, fresh: treeNode.fresh, external: treeNode.external })
        }

        // 满屏开关
        var bjui_index_container = 'container_fluid'

        function bjui_index_exchange() {
            bjui_index_container = bjui_index_container == 'container_fluid' ? 'container' : 'container_fluid'

            $('#bjui-top').find('> div').attr('class', bjui_index_container)
            $('#bjui-navbar').find('> div').attr('class', bjui_index_container)
            $('#bjui-body-box').find('> div').attr('class', bjui_index_container)
        }
    </script>
</head>
<body>
    <!--[if lte IE 7]>
        <div id="errorie"><div>您还在使用老掉牙的IE，正常使用系统前请升级您的浏览器到 IE8以上版本 <a target="_blank" href="http://windows.microsoft.com/zh-cn/internet-explorer/ie-8-worldwide-languages">点击升级</a>&nbsp;&nbsp;强烈建议您更改换浏览器：<a href="http://chrome.360.cn/" target="_blank">360极速 Chrome</a></div></div>
    <![endif]-->
    <div id="bjui-top" class="bjui-header">
        <div class="container_fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapsenavbar" data-target="#bjui-top-collapse" aria-expanded="false">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <nav class="collapse navbar-collapse" id="bjui-top-collapse">
               @RenderSection("top", true)
            </nav>
        </div>
    </div>
    <header class="navbar bjui-header" id="bjui-navbar">
        <div class="container_fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" id="bjui-navbar-collapsebtn" data-toggle="collapsenavbar" data-target="#bjui-navbar-collapse" aria-expanded="false">
                    <i class="fa fa-angle-double-right"></i>
                </button>
                <a class="navbar-brand" href="#"><img src="/Content/Images/logo.png" height="32" width="130"></a>
            </div>
            <nav class="collapse navbar-collapse" id="bjui-navbar-collapse">
               @RenderSection("menu", true)
            </nav>
        </div>
    </header>
    <div id="bjui-body-box">
        <div class="container_fluid" id="bjui-body">
            <div id="bjui-sidenav-col">
                <div id="bjui-sidenav">
                    <div id="bjui-sidenav-arrow" data-toggle="tooltip" data-placement="left" data-title="隐藏左侧菜单">
                        <i class="fa fa-long-arrow-left"></i>
                    </div>
                    <div id="bjui-sidenav-box">
                    </div>
                    @*<div id="dv_img" style="width: 222px;height:450px; display: table-cell; text-align:center; vertical-align:middle;">
                    <img src="/Content/images/side_nav_pic.png" style="width: 222px;" />
                    </div>
                    *@
                </div>
            </div>
            <div id="bjui-navtab" class="tabsPage">
                <div id="bjui-sidenav-btn" data-toggle="tooltip" data-title="显示左侧菜单" data-placement="right">
                    <i class="fa fa-bars"></i>
                </div>
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <ul class="navtab-tab nav nav-tabs">
                            <li><a href="javascript:;"><span><i class="fa fa-home"></i> #maintab#</span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft"><i class="fa fa-angle-double-left"></i></div>
                    <div class="tabsRight"><i class="fa fa-angle-double-right"></i></div>
                    <div class="tabsMore"><i class="fa fa-angle-double-down"></i></div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">#maintab#</a></li>
                </ul>
                <div class="navtab-panel tabsPageContent">
                    <div class="navtabPage unitBox">
                        <div class="bjui-pageContent">
                          @RenderSection("pageContent", false)
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="/Content/BJUI/other/ie10-viewport-bug-workaround.js"></script>
    @RenderSection("loadScript", false)
</body>
</html>